FILE(GLOB installfiles ${PROJECT_SOURCE_DIR}/install/*.txt)
SOURCE_GROUP("install" REGULAR_EXPRESSION ${PROJECT_SOURCE_DIR}/install/*.*)

SOURCE_GROUP("exe" REGULAR_EXPRESSION ${PROJECT_SOURCE_DIR}/main/src/.* FILES CMakeLists.txt)

ADD_EXECUTABLE(main WIN32 src/main.cpp ${installfiles})

TARGET_LINK_LIBRARIES(main vidiot ${Boost_LIBRARIES} ${wxWidgets_LIBRARIES} ${FFMPEG_LIBRARIES} ${PORTAUDIO_LIBRARIES} ${SOUNDTOUCH_LIBRARIES})

COPY_MSVC_PROJECT_USER_FILE(main)

#INSTALL(TARGETS main COMPONENT Vidiot DESTINATION bin)
